package com.hqj.controller.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author 黄啟军
 * @version 1.0
 * @date 2020/8/2 0002
 */
@Data
public class LoginDto {
    @NotBlank(message = "用户名不能不为空")
    @ApiModelProperty(value = "",required = false)
    private String password;
    @ApiModelProperty(value = "",required = false)
    @NotBlank(message = "用户名不能不为空")
    private String username;
}
